home *** CD-ROM | disk | FTP | other *** search
- on startMovie
- global gChannelForHighButtons, gChannelForSound, gCuesForVoice, gLabelsForVoiceCues, gCountOfCues, gPreTicksForCue, gNextCueIndex, gRadiusOfExitButton, gCenterOfMenuH, gCenterOfMenuV, gLabelForEndScreen, gMouseDownInButton, gUseMenuButton
- set gChannelForHighButtons to 5
- set gChannelForSound to 1
- set the puppet of sprite gChannelForHighButtons to 1
- set the visible of sprite gChannelForHighButtons to 0
- set the ink of sprite gChannelForHighButtons to 0
- set gCuesForVoice to [60, 190, 190, 590, 800, 1567, 1821, 2188, 2799, 3040, 3370]
- set gLabelsForVoiceCues to ["remem", "actual", "six", "thats", "hardest", "first", "wide", "felt", "other", "guess", "lets"]
- set gCountOfCues to 11
- set gPreTicksForCue to 0
- set gRadiusOfExitButton to 32
- set gCenterOfMenuH to 141
- set gCenterOfMenuV to 443
- set gUseMenuButton to 0
- set gLabelForEndScreen to "endinfo"
- end
-
- on isWithinExitButton h, v
- global gRadiusOfExitButton, gCenterOfMenuH, gCenterOfMenuV
- set hComp to gCenterOfMenuH - h
- set vComp to gCenterOfMenuV - v
- set r to sqrt((hComp * hComp) + (vComp * vComp)) < gRadiusOfExitButton
- return r
- end
-
- on stopSound
- global gChannelForSound
- if soundBusy(gChannelForSound) then
- sound stop gChannelForSound
- end if
- end
-